//
//  UILabel+LineSpace.h
//  DWCoach
//
//  Created by Mxionlly on 17/1/17.
//  Copyright © 2017年 周玉. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UILabel (LineSpace)
@property (assign, nonatomic) CGFloat lineSpace;

/**
 为UILabel文字获取文字长度
 
 @param text 文本
 @param font 字体大小
 @param maxSize 大小
 */
- (CGSize)sizeWithText:(NSString *)text font:(UIFont *)font maxSize:(CGSize)maxSize;

- (NSAttributedString *)textWithParagraphlineSpeace:(CGFloat)lineSpacing textFont:(UIFont *)font text:(NSString *)text;

//--------- 复制功能
@property (nonatomic,assign) BOOL isCopyable;


- (UILabel *(^)(NSString *str,UIColor *color,CGFloat size))setupmoreColorFont;
@end
